﻿using System;
using TCPSockets.ClientEvents.Handlers;

namespace TCPSockets.Interfaces
{
    interface IClient
    {
        string Host { get; set; }
        int Port { get; set; }

        bool Connected { get; set; }

        bool Connect(string Host, int Port);
        
        void Send(string Message);


        event OnConnectedEventHandler OnConnected;
        event OnDataSendEventHandler OnDataSend;
        event OnDisconnectedEventHandler OnDisconnected;
        event OnErrorEventHandler OnError;
        event OnReceiveDataEventHandler OnReceiveData;
    }
}
